package com.cristina.attention.service;

import com.cristina.attention.entity.Message;
import com.cristina.attention.mp.base.BaseService;

import java.util.List;

/**
 * @author by Attention
 * @Classname MessageService
 * @Date 2021/12/7
 */
public interface MessageService extends BaseService<Message> {

    /**
     * 同步消息记录 (私聊)
     * @param message
     * @return
     */
    boolean syncSimpleMessageRecord(String message);

    /**
     * 同步消息记录 (群)
     * @param message
     * @return
     */
    boolean syncGroupMessageRecord(String message);
}
